package com.shujia.java.day8.demo3;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("旺财",3,"黑白","哈士奇");
        Dog dog1 = new Dog("旺财1",3,"黑白","哈士奇");

//        dog.eat("嘴");
//        dog1.eat("刀","叉");
//        System.out.println(dog.getName());
//        System.out.println(dog.getVariety());
//        System.out.println("*********************************");
//        Bird bird = new Bird("麻雀",2,"灰","雄");
//        bird.eat();


    }
}
